<%@ page import="biz.EmpBiz" %>
<%@ page import="java.util.List" %>
<%@ page import="bean.EmpInfo" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    EmpBiz eb = new EmpBiz();
    int pageNum = eb.findEmpAllPageNum(5);
    int p = Integer.parseInt(request.getParameter("page"));
    List<EmpInfo> list = eb.findEmpByPage(p);
    session.setAttribute("ALL_EMP_LIST",list);
    session.setAttribute("PAGE_NUM",pageNum);
    response.sendRedirect("index.jsp");
%>
